<%--
  Created by IntelliJ IDEA.
  User: 001
  Date: 2017/6/14
  Time: 21:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title></title>
</head>
<body>
<%--<% request.getParameter()%>--%>
<form action="/user/update" method="post" modelAttribute="userCenter">
  <input type="text" name="id" value="${userCenter.id}" style="display: none"/>
  username:<input path="username" name="username" value="${userCenter.username}"/><br>
  password:<input path="password" name="password" value="${userCenter.password}"/><br>
  sex:<input path="sex" name="sex" value="${userCenter.sex}"/><br>
  age:<input path="age" name="age" value="${userCenter.age}" /><br>
  sdept:<input path="sdept" name="sdept" value="${userCenter.sdept}"/><br>
  <input type="submit" value="update">
</form>
</body>
</html>
